package com.bv.hr.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * @author CYT7
 * @version 1.0
 * @time 12月 24,2021
 * @describe 日志实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("log")
public class Log extends Model<Log> implements Serializable {
    private static final long serialVersionUID = -2136793068699626435L;
    /**编号*/
    @TableId
    private Long id;
    /**用户名*/
    private String userName;
    /**用户操作*/
    private String operation;
    /**请求方法*/
    private String method;
    /**请求参数*/
    private String params;
    /**执行时间*/
    private Long time;
    /**ip地址*/
    private String ip;
    /**创建人*/
    private String createBy;
    /**创建时间*/
    private Date createTime;
}
